The Media Output Component (outputMedia) provides a means to embed audio/video in a web page. It supports the following media players:
Common attributes are specified in the component tag itself. They include:
Parameter values specific to a player should be specified using <f:param>.
The following code shows how to embed a Flash video:
<ice:outputMedia player="flash" source="/media/ICEfaces_Skyscraper_120x600.swf" style="width:120px;height:600px;">
<f:param name="play" value="true"/>
<f:param name="menu" value="true"/>
</ice:outputMedia>
All of the attribute values in the example can be replaced with EL expressions.
|
tag-name:
|
<ice:outputMedia>
|
|
tag-class:
|
com.icesoft.faces.component.outputmedia.OutputMediaTag
|
|
component-class:
|
com.icesoft.faces.component.outputmedia.OutputMedia
|
|
component-type:
|
com.icesoft.faces.OutputMedia
|
|
component-family:
|
com.icesoft.faces.OutputMedia
|
|
renderer-class:
|
com.icesoft.faces.component.outputmedia.OutputMediaRenderer
|
|
renderer-type:
|
com.icesoft.faces.OutputMedia
|